
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>角色管理</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp"%>
    <script type="text/javascript" src="/static/js/system/role.js"></script>
</head>
<body>
<!-- 角色list datagrid -->
<table id="role_datagrid" ></table>

<!--员工的工具栏-->
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>

<!-- 角色编辑/新增dialog -->
<div id="role_dialog">
    <form id="role_form" method="post">
        <input type="hidden" id="roleId" name="id">

        <table align="center" style="margin-top: 15px">
            <tr>
                <td>角色编号</td>
                <td><input class="easyui-textbox" name="sn" >
                </td>
                <td>角色名称</td>
                <td><input class="easyui-textbox" name="name" >
                </td>
            </tr>

            <tr>
                <td colspan="2"><div id="allPermissions"></div></td>
                <td colspan="2" ><div id="selfPermissions"></div></td>
            </tr>
        </table>
    </form>
</div>

<!-- 新增编辑底部按钮 -->
	<div id="bb">
		<a href="#" class="easyui-linkbutton"
			data-options="iconCls:'icon-save',plain:true"
			data-cmd="save">保存</a> <a
			href="#" class="easyui-linkbutton"
			data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
	</div>
	
</body>
</html>
